package com.auth.gateway.util;

public class HtmlParserUtil {
    public static String extractCsrf(String html, String fieldName) {
        Document doc = Jsoup.parse(html);
        return doc.select("input[name=" + fieldName + "]").attr("value");
    }
}
